Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profil page #155

Merged
merged 3 commits into from
Nov 11, 2023
Merged

Profil page #155

merged 3 commits into from
Nov 11, 2023

Conversation

Matushl
Copy link
Member

@Matushl Matushl commented Nov 10, 2023

first part of #56

@Matushl Matushl requested a review from rtrembecky November 10, 2023 17:36
@Matushl Matushl linked an issue Nov 10, 2023 that may be closed by this pull request
Copy link
Collaborator

@rtrembecky rtrembecky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kludne uprav daco v dalsom PR

Comment on lines +19 to +22
<Typography sx={{fontSize: '1.875rem'}}>
<span className={styles.label}>{label}</span>
{value}
</Typography>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asi to po #162 bude Stack horizontal gap 1 a Typography osobitne na label a value, ale v poho nateraz

<ProfileLine label={'meno'} value={profile?.first_name + ' ' + profile?.last_name} />
<ProfileLine label={'e-mail'} value={profile?.email} />
<ProfileLine label={'škola'} value={profile?.school.verbose_name} />
<ProfileLine label={'ročník'} value={`${profile?.grade_name}`} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zbytocna konverzia na string. inak ten default ze || '-' netreba pri email/school/grade?

@@ -0,0 +1,12 @@
import {NextPage} from 'next'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

treba este matik a malynar stranky

@Matushl Matushl force-pushed the matush/editacia-profilu branch from fd7b8da to be3f592 Compare November 11, 2023 11:28
@Matushl Matushl force-pushed the matush/editacia-profilu branch from be3f592 to 1ef4400 Compare November 11, 2023 11:31
@Matushl Matushl merged commit 4ff0f21 into master Nov 11, 2023
1 check passed
@Matushl Matushl deleted the matush/editacia-profilu branch November 11, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zmena profilu
2 participants